From: Brion Vibber Date: Wed, 9 Jul 2003 05:21:48 +0000 (+0000) Subject: Fix topbar/bottombar alignment for right-to-left languages X-Git-Tag: 1.1.0~427 X-Git-Url: http://git.cyclocoop.org/data/%28%5B%5E/%7B%24www_url%7Dadmin/password.php?a=commitdiff_plain;h=8b0abdaa128602d02c27976961deb0a5f573ac6a;p=lhc%2Fweb%2Fwiklou.git Fix topbar/bottombar alignment for right-to-left languages --- diff --git a/includes/Skin.php b/includes/Skin.php index 2360bed567..c20e22c475 100644 --- a/includes/Skin.php +++ b/includes/Skin.php @@ -215,12 +215,14 @@ class Skin { } elseif( $left ) { $s .= $this->getQuickbarCompensator( $rows ); } - $s .= ""; + $l = $wgLang->isRTL() ? "right" : "left"; + $s .= ""; $s .= $this->topLinks() ; $s .= "

" . $this->pageTitleLinks(); - $s .= "\n"; + $r = $wgLang->isRTL() ? "left" : "right"; + $s .= "\n"; $s .= $this->nameAndLogin(); $s .= "\n
" . $this->searchForm() . ""; @@ -286,7 +288,8 @@ class Skin { if ( $shove && $left ) { # Left $s .= $this->getQuickbarCompensator(); } - $s .= ""; + $l = $wgLang->isRTL() ? "right" : "left"; + $s .= ""; $s .= $this->bottomLinks(); $s .= "\n
" . $this->mainPageLink()